home *** CD-ROM | disk | FTP | other *** search
/ boe.pres.k12.wv.us / boe.pres.k12.wv.us.zip / boe.pres.k12.wv.us / Utilities / Finishlynx / FinishLynx-8.00.exe / Adaptive32x128 3 Line.lss < prev    next >
Text File  |  2010-06-28  |  12KB  |  330 lines

  1. ; Defaults: 9600,8,N,1
  2. ;
  3. ; Lynx Scoreboard Script Version 2.0
  4. ;
  5. ; Copyright (c) 1995-2006 Lynx System Developers, Inc.
  6. ;
  7. ; Written by Kevin Holden 05/12/2010
  8. ;This script will display the event nameon line1 and results on lines 2, 3 and 4.
  9. ;Set the Page Size in FinishLynx to 3.
  10. ;
  11. ; Notes:
  12. ;  + Empty lines and lines that start with a semicolon are ignored.
  13. ;
  14. ;  + Lines that start with two semicolons indicate a section header.
  15. ;    Sections may be omitted, appear in any order, and occur more than once.
  16. ;    The current section headers and their valid group codes are:
  17. ;      ;;Initialization
  18. ;        \10 \13 \17
  19. ;      ;;TimeRunning
  20. ;      ;;TimeStopped
  21. ;      ;;TimeGun
  22. ;      ;;TimeBreak
  23. ;      ;;TimeUpdate
  24. ;      ;;TimeOfDay
  25. ;        \11 \13 \17
  26. ;      ;;Wind
  27. ;        \12 \13 \17
  28. ;      ;;StartListHeader
  29. ;      ;;StartListTrailer
  30. ;      ;;StartedHeader
  31. ;      ;;StartedTrailer
  32. ;      ;;ResultsHeader
  33. ;      ;;ResultsTrailer
  34. ;        \13 \17
  35. ;      ;;StartList
  36. ;      ;;Started
  37. ;      ;;Results (or ;;Result)
  38. ;        \13 \14 \17
  39. ;      ;;MessageHeader
  40. ;      ;;MessageTrailer
  41. ;        \13 \15 \17
  42. ;      ;;Message
  43. ;        \13 \15 \16 \17
  44. ;    The StartList*, Started*, and Results* sections may have an optional
  45. ;    page number contained in square brackets immediately following the
  46. ;    section name. If more than one page is defined for a section then each
  47. ;    page will be shown, in order, when paging is enabled. Note that page
  48. ;    numbers do not need to be contiguous; they are simply used to establish
  49. ;    the order of pages. If a page number is omitted then a 0 (zero) is
  50. ;    assumed.
  51. ;    Some sections can be omitted and they will "fall back" to other
  52. ;    sections. TimeOfDay falls back to TimeRunning. The StartList* sections
  53. ;    fall back to the Results* sections. The Started* sections fall back
  54. ;    to the StartList* sections (after the StartList* sections have fallen
  55. ;    back to the Results* sections if necessary).
  56. ;
  57. ;  + Format lines must begin with a one byte group code and a one byte
  58. ;    variable code. The special variable code \00 indicates that no variable
  59. ;    is being requested. If a variable is requested it will be inserted where
  60. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  61. ;    specifier in lines requesting a variable and no other printf format
  62. ;    specifiers may appear. Remember, lines requesting a variable are used as
  63. ;    a printf format string and therefore must behave as such. Lines not 
  64. ;    requesting a variable (variable code \00) can do whatever they want as
  65. ;    these lines are not fed to a printf statement.
  66. ;    The current group codes and their variable codes are:
  67. ;      \10  Initialize
  68. ;         \00  No variable
  69. ;      \11  Time
  70. ;         \00  No variable
  71. ;         \01  Formatted time with tenth (when running) or hundredth (when
  72. ;              stopped) precision
  73. ;         \02  Binary time in milliseconds (4 byte little endian integer)
  74. ;         \03  Formatted time with thousandth precision
  75. ;      \12  Wind
  76. ;         \00  No variable
  77. ;         \01  Formatted wind
  78. ;         \02  Binary wind in hundredths of units (4 byte little endian integer)
  79. ;      \13  Results Header/Trailer
  80. ;         \00  No variable
  81. ;         \01  OFFICIAL/UNOFFICIAL string
  82. ;         \02  Event name
  83. ;         \03  Wind
  84. ;         \04  Event number
  85. ;         \05  Round number
  86. ;         \06  Heat number
  87. ;         \07  AUTO/MANUAL start type
  88. ;         \08  Number of participants
  89. ;      \14  Result
  90. ;         \00  No variable
  91. ;         \01  Place
  92. ;         \02  Lane
  93. ;         \03  Id
  94. ;         \04  Name
  95. ;         \05  Affiliation
  96. ;         \06  Time
  97. ;         \07  Delta Time
  98. ;         \08  Cumulative Split Time
  99. ;         \09  Last Split Time
  100. ;         \0a  Laps To Go
  101. ;         \0b  License
  102. ;         \0c  ReacTime
  103. ;         \0d  Speed
  104. ;         \0e  Pace
  105. ;         \0f  Best Split Time
  106. ;      \15  Message Header/Trailer
  107. ;         \00  No variable
  108. ;      \16  Message
  109. ;         \00  No variable
  110. ;         \01  Text
  111. ;      \17  Break Time
  112. ;         \00  No variable
  113. ;         \nn  Formatted break time nn
  114. ;
  115. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  116. ;    digit. Note that h must be lowercase.
  117. ;
  118. ;  + Format lines can have the following commands embedded in them.
  119. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  120. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  121. ;     \Ui\hh  Set the 'U' value to register[hh].
  122. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  123. ;     \Xi\hh  Set the 'X' value to register[hh].
  124. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  125. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  126. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  127. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  128. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  129. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  130. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  131. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  132. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  133. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  134. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  135. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  136. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  137. ;             next {X|<eol>} characters.
  138. ;              \U\00  IDS checksum.
  139. ;              \U\01  XOR checksum. register[hh] is used as the seed value.
  140. ;              \U\02  ADD checksum. register[hh] is used as the seed value.
  141. ;              \U\03  CRC-16. register[hh] is used as the seed value
  142. ;                       and register[hh+1] is the polynomial.
  143. ;              \U\04  CRC-32. register[hh] is used as the seed value
  144. ;                       and register[hh+1] is the polynomial.
  145. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  146. ;              \U\00  Binary little-endian (Intel byte order).
  147. ;              \U\01  Binary big-endian (Motorola byte order).
  148. ;              \U\02  ASCII text right justified space padded.
  149. ;              \U\03  ASCII text right justified zero padded.
  150. ;              \U\04  ASCII text left justified space padded.
  151. ;              \U\05  ASCII text left justified zero padded.
  152. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  153. ;              \U\00  ASCII text base 10.
  154. ;              \U\01  Binary little-endian (Intel byte order).
  155. ;              \U\02  Binary big-endian (Motorola byte order).
  156. ;     \P\hh   Run Procedure hh on the next {X|<eol>} characters.
  157. ;              \P\00  Reverse characters.
  158. ;              \P\01  Convert characters to Colorado Time format. Register[1]
  159. ;                       is the current character position on entry and the
  160. ;                       next character position on exit.
  161. ;              \P\02  Convert characters to Daktronics AllSport format.
  162. ;     \B\hh   Delete {register[U]|hh} (to beginning of line if zero) characters 
  163. ;             before the cursor or until the string contains X characters.
  164. ;     \D\hh   Delete {register[U]|hh} (to end of line if zero) characters 
  165. ;             at the cursor or until the string contains X characters.
  166. ;     \I\hh   Insert {register[U]|hh} spaces at the cursor or until the string
  167. ;             contains X characters.
  168. ;     \Ic\hh  Insert {register[U]|hh} {X's|spaces} at the cursor.
  169. ;     \L\hh   Move the cursor {register[U]|hh} positions to the left (to the 
  170. ;             beginning of the line if zero).
  171. ;     \R\hh   Move the cursor {register[U]|hh} positions to the right (to the
  172. ;             end of the line if zero).
  173. ;    Note that numbers 0 thru 9 can be entered directly for single character
  174. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  175. ;    '\=\01' is the same as '\=1'.
  176. ;
  177. ;  + Be very careful about whitespace in each format line. Characters other
  178. ;    than '%s' specifiers and embedded commands and values will be sent
  179. ;    exactly as they appear on the line. This means, for instance, that using
  180. ;    tabs to make a line 'look right' in your favorite editor will cause
  181. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  182. ;    spaces (probably not what you wanted).
  183. ;
  184. ; The format lines follow.
  185.  
  186. ;;Initialization
  187. ; This is sent once to initialize the scoreboard.
  188.  
  189. \00_01Z00_02E$AAL0100FF00ABL00FF0000BBL00FF0000CBL00FF0000DBL00FF0000_04
  190. \00_01Z00_02GAConfig4Lynx_04
  191. \00_01Z00_02AA_1B0b_1E1_1D41_1A3_1D00_10A_0D_10B_0D_10C_0D_10D_04
  192. \00_01Z00_02E.TLA_04
  193.  
  194. ;;TimeRunning
  195. ; This is sent approximately 10 times per second.
  196. ; Setting register[0] to 1 in a format line will cause that line and
  197. ; subsequent lines to only be sent once per second (when the seconds
  198. ; digit changes) instead of approximately 10 times per second. Setting
  199. ; register[0] to 0 will resume normal operation for remaining lines.
  200.  
  201.  
  202. \00_01Z00_02AA_1B0b_1E1_1D41_1AZ_1D20_1D01_10A_04
  203. \01\=1_01Z00_02GA   %12.12s\B2_04
  204. \00_01Z00_02E.AL_04
  205.  
  206. ;;TimeStopped
  207. ; This is sent when the time is stopped by a beam break.
  208. \01\=1_01Z00_02GA %12.12s\B1_04
  209.  
  210.  
  211.  
  212. ;;TimeGun
  213. ; This is sent when a gun signal is received.
  214.  
  215. ;;TimeBreak
  216. ; This is sent when a beam break is received.
  217.  
  218. ;;TimeUpdate
  219. ; This is sent approximately 10 times per second.
  220.  
  221. ;;TimeOfDay
  222. ; This is sent when the 'Send time of day' option is checked in the
  223. ; Scoreboard pull down menu.
  224.  
  225. \00_01Z00_02AA_1B0b_1E1_1D41_1AZ_1D20_1D01_10A_04
  226. \01\=1_01Z00_02GA   %12.12s\B4_04
  227. \00_01Z00_02E.AL_04
  228.  
  229. ;;Wind
  230. ; This is sent in the time stream when a wind reading is received.
  231.  
  232. ;;StartListHeader
  233. ; This is sent once each time the scoreboard is updated with results. It
  234. ; is sent before any result lines are sent.
  235.  
  236.  
  237. \00_01Z00_02GA
  238. \02%-21.21s
  239.  
  240. ;;StartList
  241. ; This is sent once for each result line displayed on the scoreboard.
  242.  
  243.  
  244. \00_01Z00_02AA_1B0b_1E1_1D41_1A3_1D00_10A_0D_10B_0D_10C_0D_10D_04
  245. \00_01Z00_02G\X\42\+0\O0
  246. \14\02%3.3s
  247. \14\03%4.4s
  248. \14\04 %-9.9s
  249. \14\05%4.4s
  250. \14\00_04
  251.  
  252.  
  253.  
  254. ;;StartedHeader
  255. ; This is sent once each time the scoreboard is updated with results. It
  256. ; is sent before any result lines are sent.
  257.  
  258. ;;Started
  259. ; This is sent once for each result line displayed on the scoreboard.
  260. ; Register[0] is initialized with the index of the current result line and
  261. ; will range from 0 through PageSize - 1.
  262.  
  263. ;;ResultsHeader
  264. ; This is sent once each time the scoreboard is updated with results. It
  265. ; is sent before any result lines are sent.
  266.  
  267.  
  268. \00_01Z00_02GA
  269. \13\02%-21.21s
  270.  
  271.  
  272.  
  273. ;;Results
  274. ; This is sent once for each result line displayed on the scoreboard.
  275. ; Register[0] is initialized with the index of the current result line and
  276. ; will range from 0 through PageSize - 1.
  277. ; Page 1: place nom
  278.  
  279. \00_01Z00_02AA_1B0b_1E1_1D41_1A3_1D00_10A_0D_10B_0D_10C_0D_10D_04
  280.  
  281. \00_01Z00_02G\X\42\+0\O0
  282. \14\01%2.2s
  283. \14\04 %-10.10s
  284. \14\06%12.12s\B1\L8\B3\R0
  285. \14\00_04
  286.  
  287.  
  288.  
  289. ;;ResultsTrailer
  290. ; This is sent once each time the scoreboard is updated with results. It
  291. ; is sent after all result lines are sent.
  292.  
  293. ;;MessageHeader
  294. ; This is sent once each time the scoreboard is updated with the message. It
  295. ; is sent before any message lines are sent.
  296.  
  297. ;;Message
  298. ; This is sent once for each message line displayed on the scoreboard.
  299. ; Register[0] is initialized with the index of the current message line and
  300. ; will range from 0 through <number of lines> - 1.
  301.  
  302.  
  303. ;This will display a total of 84 characters on ethe display.
  304. ;Do not use "enter" to seperate lines
  305. ;Line 1 shows characters 1 - 21
  306. ;Line 2 shows characters 22 - 42
  307. ;Line 3 shows characters 43 - 63
  308. ;Line 4 shows characters 64 - 84
  309.  
  310. \00_01Z00_02GA
  311. \01%-21.21s
  312. \00_04
  313. \00_01Z00_02GB
  314. \01%-42.42s\L0\D9\D9\D3\R0
  315. \00_04
  316. \00_01Z00_02GC
  317. \01%-63.63s\L0\D9\D9\D9\D9\D6\R0
  318. \00_04
  319. \00_01Z00_02GD
  320. \01%-84.84s\L0\D9\D9\D9\D9\D9\D9\D9\R0
  321. \00_04
  322.  
  323.  
  324.  
  325.  
  326. ;;MessageTrailer
  327. ; This is sent once each time the scoreboard is updated with the message. It
  328. ; is sent after all message lines are sent.
  329.  
  330.